package com.shop.bean;

import java.sql.Timestamp;

/** 
 * @className: Orders.java
 * @classDescription: 
 * @function: 
 * @author: Wentasy
 * @createTime: 2012-11-1 下午03:32:54
 * @modifyTime: 
 * @modifyReason: 
 * @since: JDK 1.6
 */
public class Orders {
	private Long orderId;
	private Long userId;
	private Timestamp orderDate;
	private String payMode;
	private Boolean isPayed;
	private Float totalPrice;
	private Long addressId;
	
	public Orders(){
		
	}
	public Orders(Long orderId, Long userId, Timestamp orderDate, String payMode,
			Boolean isPayed, Float totalPrice, Long addressId) {
		super();
		this.orderId = orderId;
		this.userId = userId;
		this.orderDate = orderDate;
		this.payMode = payMode;
		this.isPayed = isPayed;
		this.totalPrice = totalPrice;
		this.addressId = addressId;
	}
	public Long getOrderId() {
		return orderId;
	}
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	public Timestamp getOrderDate() {
		return orderDate;
	}
	public void setOrderDate(Timestamp orderDate) {
		this.orderDate = orderDate;
	}
	public String getPayMode() {
		return payMode;
	}
	public void setPayMode(String payMode) {
		this.payMode = payMode;
	}
	public Boolean getIsPayed() {
		return isPayed;
	}
	public void setIsPayed(Boolean isPayed) {
		this.isPayed = isPayed;
	}
	public Float getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(Float totalPrice) {
		this.totalPrice = totalPrice;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Long getAddressId() {
		return addressId;
	}
	public void setAddressId(Long addressId) {
		this.addressId = addressId;
	}
}
